true
Type
constant
Summary
Equivalent to the string "true".
Syntax
true
Description
Use the true constant to indicate that a property is turned on or that a logical expression evaluates to true.
In many cases, the true constant can be omitted without changing the meaning of the statement. For example, the following two if statements are equivalent:
if the lockText of field 1 is true then ...
if the lockText of field 1 then ...
Examples
set the cantDelete of this stack to true
if (a and b) or (c and d) is true
Related
glossary: property, logical, statement, expression
keyword: string
command: constant
constant: false
control structure: if
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile